package com.firstjianmo.uicustomviews;

import android.app.Activity;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.view.Window;

public class MainActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.activity_main);
    }

    public void skipToNextActivity(View view){
        NextActivity.startActivity(this,"测试能否重写TitleLayout中定义好的按钮点击事件");
    }
}
